49354727e9819478e3616d8a2bff505eb350571d,plugins/git4idea/src/git4idea/repo/GitConfig.java,GitConfig,parseUrlSection,#String#Profile.Section#ClassLoader#,389
Before Change
@Nullable
private static Url parseUrlSection(@NotNull String sectionName, @NotNull Profile.Section section, @NotNull ClassLoader classLoader) {
UrlBean urlBean = section.as(UrlBean.class, classLoader);
Matcher matcher = URL_SECTION.matcher(sectionName);
if (matcher.matches()) {
return new Url(matcher.group(1), urlBean);
After Change
@Nullable
private static Url parseUrlSection(@NotNull String sectionName, @NotNull Profile.Section section, @NotNull ClassLoader classLoader) {
Matcher matcher = URL_SECTION.matcher(sectionName);
if (matcher.matches() && matcher.groupCount() == 1) {
return new Url(matcher.group(1), section.as(UrlBean.class, classLoader));
}
return null;
}